package com.gnerv.cms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * CMS-文章详情表
 * </p>
 *
 * @author Gnerv LiGen
 * @since 2019-10-10
 */
@Data
@TableName("cms_article_details")
public class ArticleDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 默认自增序列
     */
    private Long id;

    /**
     * 文章主键
     */
    @TableId(value = "article_id", type = IdType.UUID)
    private String articleId;

    /**
     * 内容
     */
    private String content;

    /**
     * 标签
     */
    private String tag;

}
